﻿ @extends('common.header')
<!DOCTYPE html>
<html lang="en">
<head>
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="white">
    <meta charset="UTF-8">
	<title>{{ $all_league[$league_id] }}联赛_{{ $all_league[$league_id] }}积分榜_{{ $all_league[$league_id] }}赛程_{{ $all_league[$league_id] }}射手榜_{{ $all_league[$league_id] }}资料{{ $webConfig->webName }}</title>
	<meta name="Keywords" content="{{ $all_league[$league_id] }},{{ $all_league[$league_id] }}赛程,{{ $all_league[$league_id] }}积分榜,{{ $all_league[$league_id] }}射手榜" />
	<meta name="Description" content="蜘蛛比分网(zhizhu.TV)为您提供{{ $all_league[$league_id] }}赛程、{{ $all_league[$league_id] }}积分榜、{{ $all_league[$league_id] }}射手榜等{{ $all_league[$league_id] }}数据统计，同时为您提供{{ $all_league[$league_id] }}球员相关详细数据，想了解{{ $all_league[$league_id] }}资料，就上蜘蛛比分网。"/>
	<link rel="shortcut icon" href="{{ asset('/images/favicon.ico') }}" />
	<link rel="stylesheet" type="text/css" href="{{ asset('/css/juhe/database.css') }}"/>
	<script src=" {{ asset('/js/jquery-1.8.3.min.js') }} "></script>
</head>
<body>
<!--面包屑导航-->
<div style="width: 1200px;height: 40px;line-height:40px;position: relative;margin: 110px auto 0">
    <ol style="float: left;overflow: hidden;color: #333;list-style: none;">
        <li style="float: left;margin-left: 5px">当前位置：</li>
        <li style="float: left;margin-left: 5px"><a href="{{ url('/') }}" style="color: #de1e30;margin-left: 5px">首页</a></li>
        <li style="float: left;margin-left: 5px"><a href="{{ url('/database') }}" style="color: #de1e30;margin-left: 5px">>资料库</a></li>
		<li style="float: left;margin-left: 5px"> </li>
    </ol>
</div>

<!--主体-->
<div class="w" style="overflow:hidden">
    <!--左侧资料库-->
    <div class="base_left">
        <div class="rmss cont_t_r">
            
			<!--导航-->
            <div class="jfb" id="recom_news" style="margin-top: 0">
				@forelse( $all_league as $key=>$league )
					@if( $league_id==$key )
						<a class="hover" href="{{ url('/database') }}/{{ $key }}">{{ $league }}</a>
					@else
						<a href="{{ url('/database') }}/{{ $key }}">{{ $league }}</a>
					@endif
				@empty
				@endforelse
            </div>
            
			<!--球队列表，没有设置固定的高-->
			<div class="team_r">
               
				<div class="base_team_top">
                    <ul class="team_list">
                        
						@forelse( $team_pic as $key => $team_info )
                        <li>
                            <div>
                                <a href="{{ url('/teamdetail') }}/{{ $team_info['team_id'] }}" title="{{ $team_info['name'] }}" class="team_logo">
									<img src="{{ $team_info['image_110x88_url'] }}" alt="">
								</a>
                                <a href="{{ url('/teamdetail') }}/{{ $team_info['team_id'] }}" class="team_name">
									<span>{{ $team_info['name'] }}</span>
								</a>
                            </div>
                        </li>
						@empty
						@endforelse
						
                     
                    </ul>
                </div>
				
				<!--赛事简介-->
                <div class="introdu">
                    <p style="font-size: 16px">赛事介绍：</p>
                    <p class="introdu_box">{{ $intro }}</p>
                </div>
            </div>
			
           
		</div>
    </div>
    <!--右侧联赛排名-->
    <div class="base_right">
        <!--标题-->
        <div class="xfrw1" style="width: 349px">
            <div class="sek"></div>
            <h3>联赛<span class="col2">排名</span></h3>
        </div>
        <table class="rank">
            <thead>
            <tr>
                <td>排名</td>
                <td>球队</td>
                <td>赛</td>
                <td>胜</td>
                <td>平</td>
                <td>负</td>
                <td>积分</td>
            </tr>
            </thead>
            <!--排名列表（20）-->
            <tbody class="rank_list">
				@forelse( $scorerank as $key => $rank_info )
				@if( $key<3 )
				<tr>
					<td class="red">{{ $rank_info->rank_index }}</td>
					<td class="name" title="{{ $rank_info->name_zh }}">
						<a href="{{ url('/teamdetail') }}/{{ $rank_info->team_id }}">{{ $rank_info->name_zh }}</a>
					</td>
					<td>{{ $rank_info->played }}</td>
					<td>{{ $rank_info->win }}</td>
					<td>{{ $rank_info->draw }}</td>
					<td>{{ $rank_info->lost }}</td>
					<td>{{ $rank_info->score }}</td>
				</tr>
				@else
				<tr>
					<td>{{ $rank_info->rank_index }}</td>
					<td class="name" title="{{ $rank_info->name_zh }}">
					<a href="{{ url('/teamdetail') }}/{{ $rank_info->team_id }}" >{{ $rank_info->name_zh }}</a>
					</td>
					<td>{{ $rank_info->played }}</td>
					<td>{{ $rank_info->win }}</td>
					<td>{{ $rank_info->draw }}</td>
					<td>{{ $rank_info->lost }}</td>
					<td>{{ $rank_info->score }}</td>
				</tr>
				@endif
			@empty
			@endforelse
            </tbody>
        </table>
    </div>
</div>
<script>
    $('.rank_list').ready(function () {
        $(".rank_list tr:odd").addClass("td_nav");
    });
</script>
</body>
</html>
@extends('common.footer')
</body>
</html>